package com.suning.sawp.po.precharge;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

@Entity(name = "PRE_CHARGE_ACT_RULE")
public class PrechargeRule implements Serializable{

    /**
     */
    private static final long serialVersionUID = -2990898849615338154L;
    // 规则Id
    private Long ruleId;
    // 促销活动ID
    private Long promotionId;
    // 规则基数(单位：分)
    private Long ruleBase;
    // 返劵金额(单位：分)
    private Long couponAmount;
    // 最大返劵金额(单位：分)
    private Long maxCouponAmount;
    
    @Id
    @Column(name = "RULE_ID")
    public Long getRuleId() {
        return ruleId;
    }
    public void setRuleId(Long ruleId) {
        this.ruleId = ruleId;
    }
    @Column(name = "PROMOTION_ID")
    public Long getPromotionId() {
        return promotionId;
    }
    public void setPromotionId(Long promotionId) {
        this.promotionId = promotionId;
    }
    @Column(name = "RULE_BASE")
    public Long getRuleBase() {
        return ruleBase;
    }
    public void setRuleBase(Long ruleBase) {
        this.ruleBase = ruleBase;
    }
    @Column(name = "COUPON_AMOUNT")
    public Long getCouponAmount() {
        return couponAmount;
    }
    public void setCouponAmount(Long couponAmount) {
        this.couponAmount = couponAmount;
    }
    @Column(name = "MAX_COUPON_AMOUNT")
    public Long getMaxCouponAmount() {
        return maxCouponAmount;
    }
    public void setMaxCouponAmount(Long maxCouponAmount) {
        this.maxCouponAmount = maxCouponAmount;
    } 
}
